﻿<%@ Page Title="Добавить новую аудиозапись" Language="C#" MasterPageFile="~/Content.Master" AutoEventWireup="true" CodeBehind="AddSong.aspx.cs" Inherits="MusaDor.Publisher.AddSong" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
        <div id="RightSide">
            <table class="table">
                <tr>
                    <td class="leftColumn">
                        Name of song (Author - Song title)*:
                    </td>
                </tr>
                <tr>
                    <td class="leftColumn">
                        <asp:TextBox class="headerinput" ID="TextBoxTitle" runat="server" MaxLength="256"></asp:TextBox>
                    </td>
                    <td class="rightColumn">
                        <asp:RequiredFieldValidator ID="RequiredFieldValidatorTitle" runat="server" ErrorMessage="This field is required" ControlToValidate="TextBoxTitle" ForeColor="#FF3300" CssClass="Validation"></asp:RequiredFieldValidator>                    
                    </td>
                </tr>
                <tr>
                    <td>
                        <br />
                        Song (.mp3)*:
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:FileUpload ID="SongUpload" runat="server" CssClass="UploadPhoto"/>
                    </td>
                    <td class="rightColumn">
                        <asp:Label ID="SongUploadStatus" runat="server" Text=" " CssClass="Validation" ForeColor="#FF3300"></asp:Label>
                        <asp:RequiredFieldValidator ID="RequiredFieldValidatorSong" runat="server"  ErrorMessage="Chose a file" ControlToValidate="SongUpload"  ForeColor="#FF3300"></asp:RequiredFieldValidator>                    
                    </td>
                </tr>
            </table>
            <br />
            <div class="bp">
                <asp:Button ID="Send" runat="server" Text="Send" CssClass="Send"  PostBackUrl="#Successfully" onclick="Send_Click"/>            
            </div>
        </div>

</asp:Content>